"""author: wenyao
   data: 2021/11/11
   project: cjh
"""
# a b c d四名犯罪嫌疑人
#其中一个是小偷
#受到审讯
#a  我不是小偷
#b  c是小偷
#c  小偷是d
#d  c胡说
#一个人说假话，那谁是小偷
lst = ["a", "b", "c", "d"]
for x in lst:
    if ("a" != x) + ("c" ==x) + ("d" == x) + ("d" != x) == 3:
        print(x)
